package com.jiuqi.site.war;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@MapperScan(basePackages = "com.jiuqi.site.mapper")
@SpringBootApplication 
public class SiteNavigationApplication {

    @RequestMapping("/")  
    String home() {  
        return "this is a new siteNavigation";  
    }  

    public static void main(String[] args) {  
        SpringApplication.run(SiteNavigationApplication.class, args);  
    } 
}
